package controller;

import java.io.File;
import java.io.IOException;
import java.util.Set;

import filterData.FilterData;
import inputData.InputData;
import makeObject.MakeObject;
import polo.Customer;
import printer.Printer;

public class Controller {
	public void run() throws IOException{
		String[] ss = new FilterData().filterData(InputData.getInstance());
		MakeObject obj = new MakeObject();
		Set<Customer> set = obj.makeObject(ss);
		
		Printer.printById(set);
		Printer.PrintByBirthday(set);
		Printer.printXML(set);
	}
}
